package com.stadium.servlet;

import java.text.ParseException;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.stadium.bean.Place;
import com.stadium.bean.PlaceOrder;

public interface PlaceOrderServlet {

	
	List<PlaceOrder> findAll(Integer type);// 获取所有申请的场地

	PlaceOrder addPlaceOrder(PlaceOrder palce) throws ParseException;// 添加申请场地信息

	void deletePlaceOrder(Integer placeId);// 删除申请场地信息

	void setType(Integer placeId, Integer type); //设置订单的状态

	List<PlaceOrder> findAllByBorrowAccount(String name);
}
